<template>
  <div class="bar-item">
    <slot name="item-img"></slot>
    <slot name="item-name"></slot>
  </div>
</template>

<script>
export default {
  name: "TabBarItem"
}
</script>

<style scoped>
  .bar-item {
    flex: 1;
    text-align: center;
  }
  .bar-item img {
    width: 24px;
    height: 24px;
  }
</style>